Description: 这是linux下关于C的编程,其中包含了socket的几种用法的例子,有udp、tcp以及select的使用。-under linux on the C programming, which includes a socket several examples of usage, udp, tcp and select use. Platform: |
Size: 571308 |
Author:钟文德 |
Hits:
Description: 这是本人在Linux下开发经常使用的一组C++工具类,包括了Socket类、TCP服务类、UDP服务类、Mysql数据库操作类、日志类、配置文件解析类、日期时间操作类、MD5和Base64加解密类、线程和线程池类、XML文件解析类等-this is my development in Linux are frequently used by a group C Tools categories, including the Socket class. TCP services category, UDP services category, Mysql database operations, log type, configuration files analytic categories, Date Time operations, and Base64 MD5 encryption type, and thread pool thread category, XML documents and other types of analysis Platform: |
Size: 69632 |
Author:刘忠 |
Hits:
Description: 本文件介绍了一个TCP/IP的功能,设计要点,本协议栈实现的组件包括ARP,I CMP(PING),UDP,TCP。并设计了一个与SOCKET API兼容的标准接口。
TCP/IP协议栈背景
TCP/IP是使用最为广泛的INTERNET通信协议,几乎所有的桌面操作系统如Windows,Redhat Linux都支持TCP/IP协议。为了实现嵌入式系统与PC机的组网通信,就必须在嵌入式系统上实现复杂的TCP/IP协议栈,通过实现了TCP/IP协议栈,就可以方便的实现嵌入式系统与主流桌面操作系统的通信和资源共享,这也是作者编写TCP/IP协议栈的由衷。
-Introduction This document is a TCP/IP functionality, design elements, realize the protocol stack components including ARP, I CMP (PING), UDP, TCP. And designed a SOCKET API-compatible with standard interfaces. TCP/IP protocol stack background TCP/IP is the most widely used communication protocol INTERNET, almost all of the desktop operating system such as Windows, Redhat Linux support TCP/IP protocol. In order to realize embedded systems and PC-letter Netcom Group, we must realize the complexity of embedded system on the TCP/IP protocol stack, through the realization of the TCP/IP protocol stack, we can facilitate the realization of embedded systems with mainstream desktop operating system of communication and resource sharing, this is also author of the preparation of TCP/IP protocol stack heartfelt. Platform: |
Size: 15360 |
Author:6756 |
Hits:
Description: Socket接口是TCP/IP网络的API,Socket接口定义了许多函数或例程,程序员可以用它们来开发TCP/IP网络上的应用程序。要学Internet上的TCP/IP网络编程,必须理解Socket接口。
Socket接口设计者最先是将接口放在Unix操作系统里面的。如果了解Unix系统的输入和输出的话,就很容易了解Socket了。网络的 Socket数据传输是一种特殊的I/O,Socket也是一种文件描述符。Socket也具有一个类似于打开文件的函数调用Socket(),该函数返 回一个整型的Socket描述符,随后的连接建立、数据传输等操作都是通过该Socket实现的。常用的Socket类型有两种:流式Socket (SOCK_STREAM)和数据报式Socket(SOCK_DGRAM)。流式是一种面向连接的Socket,针对于面向连接的TCP服务应用;数据 报式Socket是一种无连接的Socket,对应于无连接的UDP服务应用。-Socket interface is TCP/IP network API, Socket Interface defines a number of functions or routines, the programmer can use them to develop TCP/IP network applications. Study on the Internet want TCP/IP network programming, we must understand the Socket Interface.
Socket Interface Designer is the first interface on the Unix operating system inside. If you know Unix system input and output, then it is easy to understand the Socket. Socket data transmission network is a special kind of I/O, Socket is a file descriptor. Socket also has a similar function call to open the file of the Socket (), the function return an integer of Socket descriptor, then the connection set up, data transmission and other operations through the implementation of the Socket. Socket type commonly used in two ways: streaming Socket (SOCK_STREAM) and data reported type Socket (SOCK_DGRAM). Streaming is a connection-oriented Socket, for in the TCP connection-oriented service applications Datagram Socket t Platform: |
Size: 1406976 |
Author:陈威 |
Hits:
Description: Linux下的SOCKET通信程序,包括TCP通信范例和UDP通信范例,修改Makefile文件可在PC平台或者嵌入式平台上运行-Linux Socket communications programs, including TCP and UDP traffic communication paradigm, paradigm, modify the Makefile file can be run in an embedded platform Platform: |
Size: 50176 |
Author:沧海一笑 |
Hits:
Description: linux下套接字编程实例,使用TCP和UDP两种通讯方式,适合初学者-socket programming under linux which is useful for the beginning student Platform: |
Size: 16384 |
Author:孙超 |
Hits:
Description: 《Linux网络编程》内容简介:Linux是目前最流行的开源操作系统,网络功能在Linux下占有核心的地位。《Linux网络编程》循序渐进地从应用层到Linux内核、从基本知识点到综合案例,向读者介绍如何在Linux下进行网络程序设计。《Linux网络编程》内容分为4个部分:Linux程序设计基础部分、Linux用户空间网络编程部分、Linux内核网络编程部分以及综合案例部分。内容包含Linux系统概述、Linux编程环境、Linux文件系统简介、Linux下的进程和线程、TCP/IP协议族、应用层网络服务程序、TCP编程、主机信息获取、数据IO复用、UDP编程、高级套接字、套接字选项、原始套接字、服务器模型、IPv6、Linux内核网络部分结构及分布、netfilter框架内报文处理。为了方便读者学习,《Linux网络编程》最后一个部分介绍了3个综合案例,包括应用层的Web服务器例子、简单的应用层网络协议站例子和内核层网防火墙的例子。
-"Linux Network Programming" Introduction: Linux is the most popular open source operating systems, network functionality in Linux, occupies the core position. "Linux Network Programming" step by step from the application layer to the Linux kernel, the basic knowledge from the point to the integrated case, the readers how to network programming under Linux. "Linux Network Programming" is divided into four parts: Linux part of program design, Linux user space part of network programming, Linux kernel network programming and integrated case some part. Includes an overview of Linux system, Linux programming environment, Linux File System Introduction, Linux processes and threads under, TCP/IP protocol suite, application layer network services program, TCP programming, host information access, data IO Multiplexing, UDP programming, advanced socket, socket option, the original socket, server model, IPv6, Linux kernel network part of the structure and distribution, netfilter framework of mess Platform: |
Size: 1734656 |
Author:chinq |
Hits:
Description: linux下面实现的socket网络编程。使用的是udp协议,可以实现多客户端联机server的功能-The following implementation linux network programming socket. Using udp protocol, can be multi-line server client functionality Platform: |
Size: 1024 |
Author:龙虾 |
Hits:
Description: 通过UDP和select函数来实现非阻塞的通话机制,已达到客户端之间的通讯-Through the UDP and select functions to achieve non-blocking call mechanism, has reached the communication between the client Platform: |
Size: 16384 |
Author:方言 |
Hits: